// 导出属于员工的路由规则
import Layout from '@/layout'
//  {  path: '', component: '' }
// 每个子模块 其实 都是外层是layout  组件位于layout的二级路由里面
export default {
  path: '/employees',
  component: Layout,
  name: 'employees',
  children: [{
    path: '',
    component: () => import('@/views/employees/index'),
    meta: { title: '员工管理', icon: 'people' }
  },
  {
    path: 'details/:id',
    component: () => import('@/views/employees/details'),
    hidden: true,
    meta: { title: '员工详情' }
  }
  ]
}
